<template>
  <div class="box">
    <div class="head">
      <van-icon class="arrow-left" name="arrow-left" @click="goBack" /> 分类
    </div>
    <div class="content">
     <SidebarVue></SidebarVue>
     
    </div>
    <FooterBarVue class="footer"></FooterBarVue>
  </div>
</template>

<script>
import FooterBarVue from "@/components/FooterBar.vue";
import SidebarVue from "@/components/Sidebar.vue";
export default {
  name: "Category",
  components: {
    FooterBarVue,
    SidebarVue 
  },
  methods: {
    goBack() {
      this.$router.back();
    },
  },
  data() {
    return {
      
    }
  },
};
</script>

<style scoped>
.box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content {
  flex: 1;
  overflow: auto;
  display: flex;
  width: 100%;
}
.head {
  position: relative;
  height: 3rem;
  background-color: antiquewhite;
  text-align: center;
  line-height: 3rem;
}
.arrow-left {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.content-right {
  flex: 1;
  flex-wrap: wrap;
}
</style>